package po;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel("学生表")
public class Student {
	@ApiModelProperty("主键")
	private Integer c_id;
	@ApiModelProperty("名字")
	private String c_name;
	@ApiModelProperty("出生日期")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date c_birthday;
	@ApiModelProperty("籍贯")
	private String c_address;
	public Integer getC_id() {
		return c_id;
	}
	public void setC_id(Integer c_id) {
		this.c_id = c_id;
	}
	public String getC_name() {
		return c_name;
	}
	public void setC_name(String c_name) {
		this.c_name = c_name;
	}
	//@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	public Date getC_birthday() {
		return c_birthday;
	}
	public void setC_birthday(Date c_birthday) {
		this.c_birthday = c_birthday;
	}
	
	public String getC_address() {
		return c_address;
	}
	public void setC_address(String c_address) {
		this.c_address = c_address;
	}
	public Student(Integer c_id, String c_name, Date c_birthday, String c_address) {
		
		this.c_id = c_id;
		this.c_name = c_name;
		this.c_birthday = c_birthday;
		this.c_address = c_address;
	}
	public Student() {
		
	}
	@Override
	public String toString() {
		return "Student [c_id=" + c_id + ", c_name=" + c_name + ", c_birthday=" + c_birthday + ", c_address="
				+ c_address + "]";
	}
	
	
}
